<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>动态模板渲染</title>
</head>
<body>
<h1 style="color:red" th:text="${name}"></h1>
</body>
</html>